﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using ESRI.ArcGIS.ArcMapUI;
using esriUtil;

namespace ODM_AddIn
{
    public class SaveButton : ESRI.ArcGIS.Desktop.AddIns.Button
    {
        private ODM_Code.rUtils ru;

        public SaveButton()
        {
            ru = new ODM_Code.rUtils();
        }

        protected override void OnClick()
        {
            esriUtil.Forms.RasterAnalysis.frmSaveRaster saveRasterForm = new esriUtil.Forms.RasterAnalysis.frmSaveRaster(ArcMap.Document.FocusMap);
            saveRasterForm.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            saveRasterForm.Show();
        }

        protected override void OnUpdate()
        {
        }
    }
}
